/** 
 *  @file       led.h
 *  @brief      LED驱动程序
 *  @author     Z B T   
 *  @version    
 *  @date       2015-10
 */
 
#ifndef __LED_H
#define __LED_H

#define LED_PORT    P0
#define LED_0	    0x01
#define LED_1	    0x02
#define LED_2	    0x04
#define LED_3	    0x08
#define LED_4	    0x10
#define LED_5	    0x20
#define LED_6	    0x40
#define LED_7	    0x08
#define LED_ALL     0xFF

void led_on(unsigned char led_value);
void led_off(unsigned char led_value);

#endif